package com.santos.web;

import com.santos.annotation.UserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class main {

    public static void main(String[] args)
    {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("com/santos/web/beans.xml");
        StudentAction studentAction = applicationContext.getBean("studentaction", StudentAction.class);
        studentAction.execute();
    }
}
